//
//  RegisterViewController.h
//  TeslaCharging
//
//  Created by glave on 14-6-18.
//  Copyright (c) 2014年 Glavesoft. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TPKeyboardAvoidingScrollView.h"
//#import "KxMenu.h"
#import "TOWebViewController.h"
@interface RegisterViewController : UIViewController<UITextFieldDelegate,UIAlertViewDelegate,UIGestureRecognizerDelegate>
{
    TPKeyboardAvoidingScrollView* _registerView;
    //注册头像
    UIImageView *_imageView;
    UIButton *_headBtn;
    UIButton *_registerButton;
    UITextField* _nameField;
    UITextField* _nickNameField;
    //类型 商家/车主
    UITextField* _typeField;
    UITextField* _phoneField;
    UITextField* _pwdField;
    UITextField* _pwd2Field;
    UIButton *_czOrsjBtn;
    UILabel *_czOrsjLab;
    UILabel *_autoLoginLab;
    UIImageView *_czOrsjImg;
    UIImageView *_autoLoginImg;
    //隐私策略提示
    UILabel *_privacyTintLab;
    NSString *YesOrNoRem;
    NSString *YesOrNoAuto;
    NSUserDefaults *defaults;
    BOOL isRemUr;
    BOOL isAutoLogin;
}
@property (retain, nonatomic) UIImageView *imageView;
@property (retain, nonatomic) UITextField *nameField;
@property (retain, nonatomic) UITextField *nickNameField;
@property (retain, nonatomic) UIButton *headBtn;
@property (retain, nonatomic) UITextField *phoneField;
@property (retain, nonatomic) UITextField *typeField;
@property (retain, nonatomic) UITextField *pwdField;
@property (retain, nonatomic) UITextField *pwd2Field;
@property (retain, nonatomic) UIButton *registerButton;
@property (retain, nonatomic) TPKeyboardAvoidingScrollView *registerView;
@property (retain, nonatomic) UIButton *czOrsjBtn;
@property (retain, nonatomic) UIButton *autoLoginBtn;
@property (retain, nonatomic) UILabel *czOrsjLab;
@property (retain, nonatomic) UILabel *autoLoginLab;
@property (retain, nonatomic) UILabel *privacyTintLab;
@property (retain, nonatomic) UIImageView *czOrsjImg;
@property (retain, nonatomic) UIImageView *autoLoginImg;
@end
